<?php
/**
 * A list of alll Ebay Codes and constants required for the Ebay Client
 * Intended to modularise the client than making a huge library
 * @category Ebay
 * @package Ebay_Codes
 * @author Luke Parry
 */
class Ebay_Codes
{
	public static $Codes = array(
		'BuyerPaymentMethod' => array('AmEx', 'CashInPerson', 'CCAccepted', 'Other', 'OtherOnlinePayments', 'PaymentSeeDescription', 'PayPal', 'PersonalCheck', 'PostalTransfer', 'VisaMC'),
		'CompleteStatus' => array('Complete', 'Incomplete', 'Pending'),
		'RCSPaymentStatus' => array('Cancelled', 'Pending', 'Paid'),
		'EndReason' => array('Incorrect', 'LostOrBroken', 'NotAvailable', 'OtherListingError', 'SellToHighBidder'),
		'ListingType' => array('AdType', 'Chinese', 'Dutch', 'FixedPriceItem'),
		'ListingStatus' => array('Active', 'Completed', 'Ended')
		);
		
	public static function get($key)
	{
		return self::$Codes[$key];
	}
}